package com.soccertgc.client
{
	import mx.rpc.http.HTTPService;

	public class Client
	{
		
		// -------------------------------------------------------------------------------
		// FIELDS
		// -------------------------------------------------------------------------------
		
		private var _service:HTTPService;
		private var _status:ClientStatus;

		// -------------------------------------------------------------------------------
		// CONSTRUCTOR
		// -------------------------------------------------------------------------------
		
		/**
		 * Constructor 
		 * @param url
		 * 
		 */		
		public function Client(url:String)
		{
			_status = ClientStatus.IDLE;
			_service = new HTTPService(url);
		}
		
		// -------------------------------------------------------------------------------
		// PROPERTIES
		// -------------------------------------------------------------------------------
		
		public function get status:ClientStatus
		{
			return _status;
		}
		
		// -------------------------------------------------------------------------------
		// PRIVATE
		// -------------------------------------------------------------------------------
		
		
		// -------------------------------------------------------------------------------
		// PUBLIC
		// -------------------------------------------------------------------------------
		
		public function execute(action:com.soccertgc.client.IClientAction):com.soccertgc.client.IClientResult
		{
		}
		
		
	}
}